package com.heima.mapper;

import com.github.pagehelper.Page;
import com.heima.pojo.Node;
import com.heima.pojo.dto.AddRegionDTO;
import com.heima.pojo.vo.RegionVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegionMapper {

    Page<RegionVO> SelectRegion(String receiveDto);
    @Insert("insert into tb_region(name,remark) values(#{regionName},#{remark})")
    Boolean addRegion(AddRegionDTO addRegionDTO);
    //删除区域
    Boolean deleteRegion(String regionId);
}
